
<volist name="data" id="vo"><a 
	 <if condition="$type eq 'new' or $type eq 'learning'">
			    	<if condition="$vo['children']">href="<{:U('Subject/select_subject',array('subjectid'=>$vo['subjectid']))}>" data-type="modal"
								<else/>
								href="<{:U('Subject/index',array('subjectid'=>$vo['subjectid']))}>"</if>
		</if>						
								
				class="media pos_rel" >
				<div class="col-sm-2 col-xs-4 wap-padding-0"> <img style="width:100% ; height:auto" src="__Img__/<{$vo.picname}>@160h_270w_1e_0c" > </div>
				<div class="col-sm-10 col-xs-8 " style="position:relative">
								<div class="f14 overflow-h"><{$vo['subject']}></div>
								<div class="muted f12 mgt10"> <span>结课日期：<{$vo['end_date']}> </span>
												<if condition="$type eq 'new' || $type eq 'learning'"> <span class="hidden-xs"> | 倒计时：<{$vo.end_date_count}>天</span> </if>
												<if condition="($type eq 'over' || $type eq 'scholarship') && $vo['status_test']"> <span>|</span><span class="d_c"> <{$vo.status_test}></span> </if>
												<if condition="$vo['remark']">
																<div class="muted f12 mgt10"><{$vo['remark']}></div>
												</if>
								</div>
								<div  class="mgt10 btnDiv" >
												<if condition="$type eq 'learning'">
																<if condition="$vo['orderComment'] eq 0">
																				<button   data-type="modal" title="<{$vo.subject}>学员心声" href="<{:U('Subject/order_comment',array('pid'=>$vo['subjectid']))}>"   class="btn btn-info  border-radius-none">学员心声</button>
																</if>
																<if condition="!$is_mobile">
																				<button   class="btn btn-success  border-radius-none mgl20">进入班级</button>
																</if>
												</if>
												<if condition="$type eq 'over'">
																<if condition="$vo['over'] eq 1">
																				<button  data-type="modal" href="<{:U('User/apply_relearn',array('id'=>$vo['id'],'subjectid'=>$vo['subjectid']))}>" title="申请重学"  class="btn btn-success  border-radius-none"><{$vo['id']?'查看':'申请重学'}></button>
															<else/>
																<button  title="申请重学" disabled="disabled"  class="btn btn-success  border-radius-none">暂未毕业</button>
															</if>
												</if>
												<if condition="$type eq 'scholarship'">
													<if condition="$vo['over'] eq 1">
																<button   data-type="modal" href="<{:U('User/apply_scholarship',array('id'=>$vo['id'],'subjectid'=>$vo['subjectid']))}>" title="申请奖学金" class="btn btn-success  border-radius-none "><{$vo['id']?'查看':'申请奖学金'}></button>
													<else/>
																<button  title="申请奖学金" disabled="disabled"  class="btn btn-success  border-radius-none">暂未毕业</button>
															</if>
												</if>
								</div>
				</div>
				</a> </volist>
